﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.Pdepat
{
    /// <summary>
    /// 部门接口
    /// </summary>
    public interface IPdepatInfo :
        ICrudAppService< //Defines CRUD methods
            PdepatInfoDto, //Used to show books
            Guid, //Primary key of the book entity
            PagedAndSortedResultRequestDto, //Used for paging/sorting
            PdepatInfos> //Used to create/update a book
    {
        //显示
        List<PdepatInfos> GetShow();
        //添加
        Task<int> GetAdd(PdepatInfos m);
        //删除
        Task<int> GetDel(Guid guid);
        //反填
        Task<PdepatInfoDto> GetFt(Guid guid);
        //修改
        Task<int> GetUpd(PdepatInfoDto m);
    }
}
